import request from '../utils/request.js';
// 项目相关
export const getProjectList = data =>{
    return request.getRequest('/api/project/getProjectList',data)
}   
export const editProject = data =>{
    return request.postRequest('/api/project/editProject',data)
}   
export const saveProject = data =>{
    return request.postRequest('/api/project/newProject',data)
}   
export const delProject = data =>{
    return request.postRequest('/api/project/delProject',{_id:data})
}